| Author |
Thread Statistics | Show CCP posts - 2 post(s) |

Zetsubou Gakusei
Sebiestor Tribe Minmatar Republic
1
|
Posted - 2014.12.10 17:54:50 -
[1] - Quote
Any news about Rhea and authed CREST support? |

Zetsubou Gakusei
Sebiestor Tribe Minmatar Republic
1
|
Posted - 2014.12.10 18:52:54 -
[2] - Quote
Icahmura Hasaki wrote:Rhea should be fully supported already, as far as I'm aware. I just ran the unit tests and they all passed, though they are very rudimentary so there might be some missing data due to parsing errors still. I've just pushed a few minor crest related bugfixes to github that I'll get on nuget when I've accumulated a few more.
As for authed crest, I'm not sure how to incorporate it in a way that makes sence. Since the SSO requires a callback url and browser interaction and so on...
If anyone has ideas or suggestions for how I could incorporate it in a meaningful way, please let me know.
I'm not really an expert but I have had some experience with APIs such as facebook. Facebook too has a web-only login, the popular .net APIs solve it by making the user open the facebook API login from a browser control popup, do the login and then getting back the returned token to the application. I can't go into more detail because I don't really know how the backend works, I did use it this way and it works great with the .net browser control, non need for external implementations or anything.
I hope the same method (or a similar one) can apply with the SSO.
Also is there any reason this library shouldn't work with asp.net? In that environment it should be even easier to get the required auth tokens since the client is already in a browser (again, I'm not an expert so I could be saying something completely stupid) |

Zetsubou Gakusei
Sebiestor Tribe Minmatar Republic
1
|
Posted - 2014.12.10 19:55:26 -
[3] - Quote
Icahmura Hasaki wrote:What you're saying is perfectly doable, but I don't think it should be a part of the library. It's up to the library consumer to manage interaction with the end user, which includes managing the SSO authentication and handshakes and manage access tokens. Once you have the access token, that can be passed to EveLib and be used for authenticated CREST. But I'm not sure I want anything related to managing SSO and authentication to be included.
If anything I could create a separate library for that, but the SSO protocol is very straight forward and would only take a few minutes to code, so I'm not sure there's much value in it.
I see, so at least will you add the authed CREST endpoints? |

Zetsubou Gakusei
All-Out
1
|
Posted - 2014.12.10 20:14:19 -
[4] - Quote
Icahmura Hasaki wrote:Yeah, you will be able to use authed crest, but you'll have to get the access token elsewhere. I'm not really up to date on authed crest though, is it available yet ? It came out with Rhea, it's already up and working and various devs are already implementing it in their applications, right now we got the market orders available for use |

Zetsubou Gakusei
All-Out
1
|
Posted - 2014.12.17 08:19:13 -
[5] - Quote
Thanks for the update! I've been using the library in the past days and I've always been positively pleased. Can't wait to play with SSO now! |

Zetsubou Gakusei
All-Out
1
|
Posted - 2014.12.17 14:40:41 -
[6] - Quote
After taking all morning to manage to figure out how to manually get the SSO token I looked into your source and found out that you implemented the whole token request part >_<
I was somehow under the impression that I had to do it myself for some reason and went ahead and did my own (awful) thing...
Also I laughed too hard at the "360 noscope" comment in the source, just letting you know |

Zetsubou Gakusei
All-Out
1
|
Posted - 2014.12.17 15:04:54 -
[7] - Quote
Icahmura Hasaki wrote:Been working at it all day, in fact :) Glad to hear you've found it useful though. Just finished up some last things now, before I'm done.
Got a lot of cool stuff coming, such as automatic token refreshes, lambda queryable crest resources and more.
I'm kind of stuck on the actual authentication right now, the application gets stuck right after I authenticate and try to retrieve values from the token, probably due to my inability to use await and async
I tried:
var authResult = EveSso.Authenticate(encodedAuth, code);
Response.Write(authResult.Result.AccessToken); //writing to the page the token so I can check it worked
I'm probably doing it wrong, what's the correct way? |

Zetsubou Gakusei
All-Out
1
|
Posted - 2014.12.17 15:10:41 -
[8] - Quote
Icahmura Hasaki wrote:That should work, all though it might hang a bit since you're not using await. Are you sure the encodedAuth and Code is correct? You have to manually copy the Code from your browser after logging in, if you're not doing that already. I'm doing that in asp.net so I already got the login and the callback working, the code is correct and the encoded value is right too, I just can't figure out how to use the async because I'm not very experienced on the subject |

Zetsubou Gakusei
All-Out
1
|
Posted - 2014.12.17 15:23:20 -
[9] - Quote
Icahmura Hasaki wrote:Well, it should work like that too. To test it async you can simply wrap it public async void test(your parameters) { var authResult = await EveSso.Authenticate(encodedAuth, code); Response.Write(authResult.AccessToken); //writing to the page the token so I can check it worked } I've added much better error handling to EveAuth on github, that might help you out. The initial version that is on nuget was just a quick draft to get something working to test it out. Drop by IRC, easier to communicate http://irc.lc/coldfront/eve-dev/
I'm already on there actually, if you were online you probably should have seen my struggle through the day in getting this stuff to work |

Zetsubou Gakusei
Pupper Appreciation Station White Stag Exit Bag
5
|
Posted - 2016.12.23 18:54:08 -
[10] - Quote
Thanks for updating the library, I recently got back into eve and now I'm again checking out development and I turned again to this lib.
I'm still trying to get the basics done, it's a bit hard though because there are no examples.
By the way what's the difference between the CREST and the Dynamic CREST library? |

Zetsubou Gakusei
All-Out White Stag Exit Bag
5
|
Posted - 2017.01.10 12:49:03 -
[11] - Quote
Aeon Haginen wrote:Icahmura Hasaki wrote:I'm working on a .NET client for the ESI API, let me know if you're interested in testing it. It's not needed. You can auto generate .NET client using official swagger generator at "https://generator.swagger.io/". I've already created small (140 lines including usings and comments) C# program that can automatically download autogenerated .NET library for latest ESI version, extract it and update my sollution with it. Can share it if someone want.
Please do, I have almost no idea about how to do this stuff, right now I'm just calling ESI manually through restsharp (and it works only half the time) |
| |
|